SftTree/OCX 7.0

SftTreeCell.ProgressColorOrientation Property

Softel vdm, Inc.

Defines the progress bar's gradient fill orientation.

Syntax       

 

Get

VB.NET

Style = object.ProgressColorOrientation  As SftTreeOrientationDefaultConstants

VB

Style = object.ProgressColorOrientation  As SftTreeOrientationDefaultConstants

C#.NET

SftTreeOrientationDefaultConstants Style = object.ProgressColorOrientation;

VC++

enum SftTreeOrientationDefaultConstants Style = object->ProgressColorOrientation;
enum SftTreeOrientationDefaultConstants Style = object->GetProgressColorOrientation();

C

HRESULT object->get_ProgressColorOrientation(enum SftTreeOrientationDefaultConstants* Style);

Delphi

Style := object.ProgressColorOrientation  : TOleEnum;

Put

VB.NET

object.ProgressColorOrientation = Style  As SftTreeOrientationDefaultConstants

VB

object.ProgressColorOrientation = Style  As SftTreeOrientationDefaultConstants

C#.NET

SftTreeOrientationDefaultConstants object.ProgressColorOrientation = Style;

VC++

enum SftTreeOrientationDefaultConstants object->ProgressColorOrientation = Style;
void object->PutProgressColorOrientation(enum SftTreeOrientationDefaultConstants Style);

C

HRESULT object->put_ProgressColorOrientation(enum SftTreeOrientationDefaultConstants Style);

Delphi

object.ProgressColorOrientation := Style  : TOleEnum;

object

A SftTreeCell object.

Style

Defines the progress bar's gradient fill orientation.

Name

Value

Description

defaultOrientationSftTree

-1

(Default) - The default orientation defined using Column.ProgressColorOrientation is used.

horizontalDefaultOrientationSftTree

0

Horizontal - The gradient fill orientation is horizontal, starting at the left using Cell.ProgressColor and ending at the right edge of the cell using Cell.ProgressColorEnd (reversed when using RightToLeft rendering).

verticalDefaultOrientationSftTree

1

Vertical - The gradient fill orientation is vertical, starting at the top using Cell.ProgressColor and ending at the bottom using Cell.ProgressColorEnd.

Comments

The ProgressColorOrientation property defines the progress bar's gradient fill orientation.

A progress bar is only shown for the cell if its Cell.ProgressMax property is set to a value other than 0.

See Also  SftTreeCell Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com